// Ofri Keidar 302933981 group 05

package model;

/**
 * Class represents an employee of the store
 */
public class Employee {

	// employee's personal details
	private int number;
	private String name;
	private String userName;
	
	/**
	 * Constructor- creates a new employee with given details
	 * @param number- new employee's number
	 * @param name- new employee's name
	 * @param userName- new employee's user-name
	 */
	public Employee(int number, String name, String userName) {
	
		// set members according to given details
		this.number = number;
		this.name = name;
		this.userName = userName;
	}

	/**
	 * Returns employee's number
	 * @return employee's number attribute
	 */
	public int getNumber() { return number; }

	/**
	 * Returns employee's name
	 * @return employee's name attribute
	 */
	public String getName() { return name; }

	/**
	 * Returns employee's user-name
	 * @return employee's user-name attribute
	 */
	public String getUserName() { return userName; }
}